
	 <!--left-->
	   <div id="appList_s" class="leftApp" onmouseover="snda.uclib.component.store.extend();" style="z-index:10;top:85px;">
            <div class="appHome">
                <a href="/" class="home">
					<img src="<?php echo __STATIC_URL;?>/images/leftapp/home.png" width="32" height="32" onload="snda.core.common.fixPNG(this);"/>
				</a>
            </div>
            <div class="appNav">
            	<div class="appNavList" id="iconNavList">
					<?php $str=''; foreach($app_list as $key => $app):?>
					<?php $app_num++;$tmp='';if(1==($app_num%3)):?>
                    <?php 
						$tmp='<a '.UCModPanel::getLink($app).'><img width="32" height="32" src="' . UCModPanel::getIcon($app['id'], '32').'" onload="snda.core.common.fixPNG(this);"/></a>';
						echo $tmp;
						$str.=$tmp;
					?>
					<?php endif;?>
					<?php endforeach;?>
					<script language=javascript>
						jQuery.data(document.body, "app_panel_icon",'<?php echo $str;?>');
					</script>
                    <div class="clear"></div>
                </div>
                <div class="leftAppRank">
                    
                </div>
            </div>
            <div class="appBottom"></div>
        </div>
	
        <div id="appList_w" class="leftApp allApp" style="display:none;position:absolute;z-index:20;background-color:white;top:85px;">
            <div class="appHome">
                <a href="/" class="home">
					<img src="<?php echo __STATIC_URL;?>/images/leftapp/home.png" width="32" height="32"/>
					<span>糖果首页</span></a>
                <div class="fiveApp">
<script language=javascript>
	var static_urls = [
		["/relation", "<?=__STATIC_URL?>/images/app/samllapp2.png", "好友"],
		["/message", "<?=__STATIC_URL?>/images/app/samllapp3.png", "信箱"],
		["/medal", "<?=__STATIC_URL?>/images/app/samllapp4.png", "勋章"],
		["/user/profile/?act=view", "<?=__STATIC_URL?>/images/app/samllapp1.png", "设置"],
		["/store/account", "<?=__STATIC_URL?>/images/app/samllapp5.png", "通行证"]
	];
	for(var i = 0; i < static_urls.length; ++i) {
		document.write("<a href=\""+static_urls[i][0]+"\"><img width=\"32\" height=\"32\" src=\""+static_urls[i][1]+"\"  /><br />"+static_urls[i][2]+"</a>");
	}
</script>
                </div>
            </div>
			
            <div class="appNav">
            	<div class="appNavList" style="height:264px;">
					<span id="appNavList">
						<?php foreach($app_list as $app):?>
							<a onmouseover="snda.uclib.component.store.over(this);" onmouseout="snda.uclib.component.store.out(this);" appid="<?php echo $app['id'];?>" <?php echo UCModPanel::getLink($app);?>><img width="32" height="32" src="<?php echo UCModPanel::getIcon($app['id'], '32');?>" alt="<?php echo htmlspecialchars($app['title']);?>" style="float:left;margin-right:4px;"/><?php echo subStrCh($app['title'],10,false);?></a>
						<?php endforeach;?>
					</span>
                    <div class="clear" id="appNavClear"></div>
                </div>
              <div class="leftAppRank">
					<div class="leftPage" id="leftPage">
						<a href="javascript:void(0);" id="app_page1" class="cur">1</a>
						<?php for($i=2,$n=ceil($total/$size);$i<=$n;$i++):?>
							<a href="javascript:void(0);" onclick="snda.uclib.component.store.page(<?php echo $i;?>);return false;" id="app_page<?php echo $i;?>"><?php echo $i;?></a>
						<?php endfor;?>
					</div>
                    <a href="/user/app?act=view">设置排序</a>
              </div>
          </div>
            <div class="appBottom"></div>
			
        </div>
		<iframe id="appFrame" frameborder="0" scrolling="no" style="position:absolute;width:0px; height:0px;z-index:8;" src="about:blank"></iframe>
        <!--/left-->

		 <!--main-->
        <div class="main" id="main">
<script language=javascript>
	jQuery.data(document.body, "app_panel_data[1]",<?php echo $encodeApp;?>);
</script>